home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000290_neal@ctd.comsat.com_Tue Feb 8 09:46:00 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  2KB

  1. Received: from neal.ctd.comsat.com by cs.umb.edu with SMTP id AA21648
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Tue, 8 Feb 1994 14:46:41 -0500
  3. Received: by neal.ctd.comsat.com (Smail3.1.28.1 #29)
  4.     id m0pTyOO-0002fOC; Tue, 8 Feb 94 14:46 EST
  5. Message-Id: <m0pTyOO-0002fOC@neal.ctd.comsat.com>
  6. Date: Tue, 8 Feb 94 14:46 EST
  7. From: neal@ctd.comsat.com (Neal Becker)
  8. To: kb@cs.umb.edu
  9. Cc: tex-k@cs.umb.edu
  10. Subject: Engine specific font paths
  11. In-Reply-To: <199402081711.AA22334@terminus.cs.umb.edu>
  12. References: <199402081711.AA22334@terminus.cs.umb.edu>
  13.  
  14. >>>>> "K" == K Berry <kb@cs.umb.edu> writes:
  15.  
  16.  
  17.     K> (neal)  There has to be a way to specify that you want fonts for a
  18.     K> particular engine.  There also has to be a way to tell kpathsea
  19.     K> how/where to find fonts for different engines.
  20.  
  21.     K>     Any suggestions?
  22.  
  23.     K> Yep, I have a suggestion :-)
  24.  
  25.     K> I think the solution is to make your default PK path include
  26.     K> $MAKETEX_MODE, and then set that envvar (with putenv or xputenv
  27.     K> or whatever). As a bonus, MakeTeXPK ought to work.
  28.  
  29. Sounds interesting, but I don't know if this really does it.  Let me
  30. give you an example.
  31.  
  32. I can print in high res on my epson printer or low res.  To do high
  33. res I use fonts built for MF mode EpsonMXFX.  For low res I made a
  34. mode called EpsonMXFX-low.
  35.  
  36. When I want to print I have to tell the driver which I want.  Using my
  37. 'eps' driver I use either an env variable or a command line switch to
  38. tell it which mode I want.  eps has a runtime config file telling it
  39. what the name of the MF mode is.  A config file tells the mctex
  40. library how to find fonts for a particular MF mode.
  41.  
  42. I guess your suggestion using an env variable on PK path and then
  43. relying on the driver to set the variable can work.  I think it's kind
  44. of circuitous though, and it won't work unless the (poor) user sets up
  45. this nondefault PK path.
  46.  
  47. I'm still not sure what's the best approach.  I'm inclined to say that
  48. the driver needs to know what engine it's printing on.  The driver
  49. should obtain this knowledge ultimately from the user (possibly
  50. through env variable or compile-time config) and pass this to the font
  51. searching mechanism.
  52.